/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 */

#ifndef __HYDRAX_MANAGER_H__
#define __HYDRAX_MANAGER_H__

#include "NgPrerequisites.h"

#include "Hydrax.h"
#include "Noise/Perlin/Perlin.h"
#include "Modules/ProjectedGrid/ProjectedGrid.h"
#include "Modules/SimpleGrid/SimpleGrid.h"

namespace PQEngine
{
	//Water effect manager
	class HydraxManager
	{
	private:
		Ogre::SceneManager *_sceneMgr;
		Hydrax::Hydrax *hydrax;
		bool updateHydrax;

	public:
		HydraxManager();
		void init(Ogre::RenderWindow *win,Ogre::SceneManager *sceneMgr,Ogre::Camera *camera);
		void update(float deltaT);
		void setHydraxUpdate(bool updated)
		{
			updateHydrax=updated;
		}

	};
}
#endif
